import QtQuick 1.0

Item {
    width: 640
    height: 360

    ChickenChosen {
        id: chickenChosen
        // Gameview is disabled when gameViewHider is shown
        states: [
        State {
            name: "hide"
            when: backgroundImage.state == ""
            PropertyChanges {
                target: chickenChosen
                opacity: 0.0
                y: -chickenChosen.height
            }
        }
        ]
    }

    MainScreen {
        id: mainScreen
        states: [
        State {
            name: "hide"
            when: chickenChosen.state == ""
            PropertyChanges {
                target: mainScreen
                opacity: 0.0
                y: -mainScreen.height
            }
        }
        ]
    }

    Parameter{
        id: parameter
    }
}
